#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr[3][5] = { 0 };
	int i = 0;
	for (i = 0; i < 3; i++)
	{
		int j = 0;
		for (j = 0; j < 5; j++)
		{
			printf("&arr[%d][%d]=%p\n", i, j, &arr[i][j]);
		}
	}

	 int arr2[3][5] = {1,2,3,4,5,2,3,4,5,6,3,4,5,6,7};
	 i = 0;
	 for (i = 0; i < 5; i++)
	 {
		 int j = 0;
		 for (j = 0; j < 3; j++)
		 {
			 printf("%d ", arr2[j][i]);
		 }
		 printf("\n");
	 }






	return 0;
}